/**   
 * 项目名：五位一体化工安全信息平台
 * 日期：    2019-12-03 22:07:10  
 * Copyright (c) 2015- joysuch-版权所有     
 */

package com.joysuch.wwyt.core.service;

import com.joysuch.wwyt.core.bean.SimpleSelectListRecursiveBean;
import com.joysuch.wwyt.core.entity.BaseRegion;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface BaseRegionService {

    public void add(BaseRegion entity) throws Exception;

    void update(BaseRegion entity) throws Exception;

    Page<BaseRegion> findByPage(Pageable page);

    void delete(Long id);

    BaseRegion findById(Long id);

    SimpleSelectListRecursiveBean queryTree();

}
